@import '~@common/css/_variables.scss';

.player {
  position: fixed;
  top: 60px;
  left: 0;
  z-index: 30;
  width: 100%;
  height: calc(100vh - 133px);
  background-color: #fff;

  .content {
    display: flex;
    align-items: center;
    flex-direction: column;

    .isShowMore {
      position: fixed;
      top: 360px;
      right: 4px;
      width: 20px;
      height: 20px;
      // background-color: red;
    }

    .name {
      display: flex;
      align-items: center;
      flex-direction: column;

      p {
        &:nth-child(1) {
          font-size: 24px;
        }

        &:nth-child(2) {
          padding-top: 16px;
          font-size: 12px;
          line-height: 1;
          color: #979798;
        }
      }
    }

    .info {
      display: flex;
      width: 100%;
      height: 360px;
      margin-top: 40px;
      align-items: center;
      justify-content: space-between;

      .info_box {
        position: relative;
        display: flex;
        height: inherit;
        overflow: hidden;
        background-color: #fff;
        align-items: flex-start;
        justify-content: center;
        flex: 1;

        &:nth-child(1) {
          max-width: 400px;
          min-width: 300px;
          margin-right: 20px;
        }
        // &:nth-child(2) {
        //   flex: 1.5;
        // }
        &:nth-child(3) {
          margin-left: 20px;
          overflow-y: scroll;
          flex-direction: column;
          align-items: flex-start;
          justify-content: flex-start;

          &::-webkit-scrollbar {
            width: 6px;
            height: 6px;
          }

          /* Track */
          &::-webkit-scrollbar-track {
            background: #fff;
            border-radius: 8px;
          }

          /* Handle */
          &::-webkit-scrollbar-thumb {
            background: #e1e1e1;
            border-radius: 8px;
          }

          /* Handle on hover */
          &::-webkit-scrollbar-thumb:hover {
            background: #cfcfd1;
          }

          h2 {
            padding: 10px;
            font-size: 14px;
            font-weight: bold;
          }

          ul {
            width: 100%;

            li {
              display: flex;
              padding: 4px 10px;
              align-items: center;

              &:hover {
                background-color: #ebeef1;
              }

              img {
                min-width: 30px;
                margin-right: 10px;
                border-radius: 4px;
              }

              p {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                flex: 1;
              }
            }
          }
        }
      }

      .album_box {
        position: relative;
        width: 260px;
        height: 260px;
        background: url('~@common/images/album.png') center center / 100%
          no-repeat;
        border: 10px solid #dbdbdb;
        border-radius: 50%;

        img {
          position: absolute;
          top: 50%;
          left: 50%;
          width: 80%;
          height: 80%;
          border-radius: 50%;
          transform: translate(-50%, -50%);
        }
      }
    }
  }
}

// .lrc {
//   position: fixed;
//   right: 0;
//   z-index: 5;
//   width: calc(100% - 200px);
//   transition: all 0.5s ease;
//   overflow: hidden;
//   background-color: rgba($color: #F5F5F6, $alpha: 0.9);
//   border-top: 1px solid #E1E1E1;

.lrc_list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 50%;
  transition: all ease 0.5s;

  li {
    height: 30px;
    overflow: hidden;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    opacity: 0.4;
    transition: all 0.5s ease-out;
  }
}

// }

.active {
  height: auto !important;
  min-height: 16px !important;
  overflow: visible !important;
  color: $color !important;
  opacity: 1 !important;
}

.noLyric {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
